//通过bv号获取所有分p的信息
const axios = require('axios');
async function videoMsg(bvId){
  let data = await axios.get(`http://api.bilibili.com/x/player/pagelist`,{params:{
    bvid:bvId
  }});
  data = data.data.data;
  return data;
}

module.exports = videoMsg;